@echo off

echo ARE YOU SURE YOU WANT TO CLEANUP .SVN FILES?
pause

for /f %%i in ("%0") do set curpath=%%~dpi
set curpath=%curpath: =%


rem delete .svn files
for /r %curpath% %%f in (.svn) do (
 if exist %%f do (
  echo Deleting .. %%f
  rd /s /q "%%f"
 )
)

:end

